package com.cskaoyan.bean;

import lombok.Data;

import java.util.List;

/**
 * @USER: cuiweiguo#
 * @DATE: 2022/5/6
 * @TIME: 19:04
 * @PROJECT_NAME: mallproject2
 */
@Data
public class LogListBean {
    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<Log> list;

    public static LogListBean data(long total,Integer pages,Integer limit,Integer page,List list) {
        LogListBean logListBean = new LogListBean();
        logListBean.setTotal((int) total);
        logListBean.setPages(pages);
        logListBean.setPage(page);
        logListBean.setLimit(limit);
        logListBean.setList(list);
        return logListBean;
    }
}
